package com.dailyblue.java.standard.design.工厂模式.抽象工厂模式;

public class IPhone implements Phone {
    private Integer size;
    private String color;

    public IPhone(int size, String color) {
        this.size = size;
        this.color = color;
    }

    @Override
    public void color() {
        System.out.println("color:" + color);
    }

    @Override
    public void ram() {
        System.out.println("size:" + size);
    }
}
